package com.kede.dictenum;

import com.kede.annotation.DictEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/***
 ** @Author:Pr.li
 ** @Description:
 ** @Date: create in 2023/4/20 16:42
 ***/
@Getter
@AllArgsConstructor
public enum ResourceFunDictEnum implements DictEnum {
    swiper(1,"轮播"),
    resource(2,"静态资源"),
    good(3,"商品相关图片");
    Integer code;
    String value;

    @Override
    public String getLabelStr() {
        return value;
    }

    @Override
    public String getValueStr() {
        return code.toString();
    }

    @Override
    public String getName() {
        return "ResourceFun";
    }

    @Override
    public String getDes() {
        return "资源用于功能类型";
    }
}
